using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BlogSystem.Ability.Docking.NewsApp.Dto;
using Youshow.Ace.Ability.Services;

namespace BlogSystem.Ability.Docking.NewsApp
{
    public interface INewsServicer : IAbilityServicer
    {
         Task<List<NewsDto>> GetNewsDtoListAsync(int pageIndex = 1, int pageSize = 1);

          Task<int> GetTotalCountAsync();

          Task<NewsDto> GetNewsDtoAsync(int id);
    }
}